package com.lcq.demo.service;


import com.lcq.demo.entity.po.Device;
import com.lcq.demo.repository.DeviceRepository;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class DeviceService {

    @Resource
    private DeviceRepository deviceRepository;


    public void insert(Device device) {

        deviceRepository.save(device);

    }
}
